import Vue from 'vue';
import App from './App.vue';
import router from './router';
import ElementUI from 'element-ui';
// import 'element-ui/lib/theme-chalk/index.css'
import 'element-ui/lib/theme-chalk/index.css'
import ajax from 'axios';


Vue.config.productionTip = false
Vue.use(ElementUI);  //装载ElementUI
Vue.prototype.$http = ajax; //装载axios

new Vue({
  router,  //注入路由配置
  render: h => h(App),
}).$mount('#app')
